home *** CD-ROM | disk | FTP | other *** search
-
-
- RETURN STRIPPER
- by
- Stephen S. Leven
-
- COMMODORE POWER/PLAY MAGAZINE
- April/May,1986
- p.105
-
- With the development of database
-
- networks, personal computer owners
-
- have a world of information at their
-
- fingertips. All you must have to
-
- access this information is your
-
- trusty computer and a modem. But
-
- when you wish to manipulate the
-
- information (downloaded text) that
-
- comes in over your modems on your
-
- word processors, problems occur.
-
-
- The problem centers around the
-
- carriage return-- when writing on a
-
- word processor, we usually hit RETURN
-
- only after the end of a paragraph.
-
- However, when text is downloaded
-
- through a modem, there is a carriage
-
- return at the every line.
-
-
- When you try to read this text on a
-
- word processor, your normal
-
- formatting abilities are circumvented
-
- by all of those carriage returns.
-
- For example, most downloaded text is
-
- 40 columns wide. Even if you set the
-
- margins of your word processor to
-
- print a 70 column printout from this
-
- text, your printout would be only 40
-
- columns wide-- because of all those
-
- carriage returns.
-
-
- RETURN STRIPPER bridges the gap
-
- between downloaded text and your word
-
- processor by editing out all carriage
-
- returns except those at the end of
-
- paragraphs.
-
-
- The program assumes that the text
-
- is meant to be single spaced, with a
-
- double space between paragraphs.
-
- The program reads through the file
-
- character by character, writing those
-
- characters (except for carriage
-
- returns) to another file on that
-
- disk.
-
-
- To use RETURN STRIPPER, insert the
-
- disk with the downloaded text file
-
- into the drive. There must be enough
-
- room on the disk for another file of
-
- the same size as the original file.
-
-
- When prompted to enter the input
-
- filename, enter the name of the
-
- downloaded text file; when prompted
-
- to enter the output filename, enter a
-
- name, making sure that name is
-
- different from any appearing on that
-
- disk.
-
-
- You have the option of printing the
-
- file while it is being stripped of
-
- carriage returns. If you wish to
-
- quit the program at any time, pressing
-
- F7 will exit.
-
-
- To run this program, exit Loadstar,
-
- and type LOAD"RETURN STRIPPER",8 and
-
- hit return. Then type RUN and
-
- return. Then follow the instructions
-
- supplied by the program.
-
-
- FILES REQUIRED:
-
- RETURN STRIPPER
-
- ------------<end of text>-----------
-
-